import request from "@/utils/request.js";
// 获取所有分类
export const sortAll = (params) => {
    return request.post("/sort/all/", params);
}
// 添加分类
export const addSort = (params) => {
    return request.post("/sort/add/", params);
}
// 更新分类
export const updateSort = (params) => {
    return request.post("/sort/update/", params);
}
// 删除分类
export const delSort = (params) => {
    return request.post("/sort/delete/", params);
}
//永久删除
export const trueDelSort = (params) => {
    return request.post("/sort/trueDelSort/", params);
}
